<!--
 * @Author: cl
 * @Description: 总计
 * @Date: 2023-05-06 09:27:05
 * @LastEditTime: 2023-05-06 10:10:20
 * @FilePath: \vue3\src\views\nestjs\student\components\count.vue
 * @LastEditors: cl
-->
<template>
  <div>{{ defaultProps1.list.length }}</div>
</template>

<script setup lang="ts">
import { toRef } from "vue";
const defaultProps1 = defineProps<{
  list: Array<any>;
}>();
let length = toRef(defaultProps1, 'list')
</script>

<style scoped></style>
